package service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import core.service.AbstractService;
import domain.dao.TaskDao;
import domain.entity.Task;

@Service
public class TaskServiceImpl extends AbstractService<Task> {

	@Resource
	private TaskDao taskDao;

	public TaskDao getTaskDao() {
		return taskDao;
	}

	public void setTaskDao(TaskDao taskDao) {
		this.taskDao = taskDao;
	}

	@Override
	protected TaskDao getDao() {
		return taskDao;
	}
}
